package com.ijiuchuang.jc_localization.app;

import android.app.Application;

import com.ijiuchuang.jc_localization.tools.utils.Log;
import com.ijiuchuang.jc_localization.tools.utils.MyUtil;
import com.litesuits.orm.LiteOrm;
import com.litesuits.orm.db.DataBaseConfig;

import cn.bmob.push.BmobPush;
import cn.bmob.v3.Bmob;
import cn.bmob.v3.BmobInstallation;

/**
 * Created by Veev on 2016/6/2
 *
 * @link 384506557@qq.com
 */
public class App extends Application {

    // LiteOrm
    static LiteOrm liteOrm;

    @Override
    public void onCreate() {
        super.onCreate();

        /**
         * Bmob 初始化
         */
        Bmob.initialize(this, Config.BOMB_APP_ID);
        // 使用推送服务时的初始化操作
        //BmobInstallation.getCurrentInstallation().save();
        // 启动推送服务
        //BmobPush.startWork(this);
    }
}
